home *** CD-ROM | disk | FTP | other *** search
- Path: gidora.kralizec.net.au!root
- From: rosko@zeta.org.au (Ross McKay)
- Newsgroups: comp.lang.c++
- Subject: Re: Visual C++ & SQLConnect
- Date: Wed, 21 Feb 1996 13:55:22 GMT
- Organization: Soft Technologies
- Message-ID: <4gf4q7$vt8@gidora.kralizec.net.au>
- References: <4fvns1$164g@news-s01.ny.us.ibm.net>
- Reply-To: rosko@zeta.org.au
- NNTP-Posting-Host: dialup46.syd1.zeta.org.au
- X-Newsreader: Forte Free Agent 1.0.82
-
- schlaep@ibm.net (Patrick Schlaepfer) wrote:
- >So what?
-
- >If I use the sample program supplied by
- >Microsoft help
-
- >SQLConnect
-
- >does not work.
- >I receive:
-
- >connot convert parameter 2 from char [9] to
- >unsigned char * (new behavoir please see
- >help) What help? Any help ?
-
- a) in the 16-bit compiler, the docs for ODBC suck bad.
-
- b) off the top of my head, everthing is probably OK and
- you just need to cast the second parameter to an
- unsigned char*, eg.
-
- (UCHAR*)"this is a signed char string"
-
-
- ------------------------------------------------------------------
- Ross McKay | snail: GPO Box 562, Sydney NSW 2001 Australia
- Soft Technologies | email: mailto:rosko@zeta.org.au
- Sydney, Australia | URL: http://www.zeta.org.au/~rosko
- ------------------------------------------------------------------
- The opinions expressed are my own, not those of Soft Technologies.
- "The beatings will continue, until staff morale improves."
-
-